﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Mvc;

namespace LoveEat.AdminController
{
    public class BaseController : Controller
    {
        public static int RowCount = 0;


        public string AlterMessage(string msg, string returnUrl)
        {
            msg = string.IsNullOrEmpty(msg) ? "操作失败" :
            msg;
            return "<iframe src=\"/PageMessage/index?Message=" + msg +
            "!&Type=1&Url=" + returnUrl + "\" width='100%' height='98%' scrolling='no' style=' border: 0px;'></iframe>";
         

        }
    }
}
